::创建登录状态缓存目录
if not exist auth mkdir auth

::删除报告目录
if exist allure-results rmdir /s /q allure-results
if exist allure-report rmdir /s /q allure-report
if exist test-results rmdir /s /q test-results

::清除授权目录
del /q /f auth

::执行测试用例
::pytest -s --headed --slowmo=500 --browser=chromium --screenshot=on --video=on --alluredir=./allure-results ./demo/07_screenshot_video.py
pytest --headed --slowmo=200 --screenshot=only-on-failure --video=retain-on-failure --alluredir=./allure-results ./demo/15_test_demo.py

::pytest --headed --slowmo=200 --screenshot=only-on-failure --video=retain-on-failure --alluredir=./allure-results ./pom/cases


::生成allure测试报告
::allure generate ./allure-results -o ./allure-report
::打开测试报告
::allure open -h localhost -p 8080 ./allure-report

::默认的输入和输出目录就是 allure-results、allure-report
::把两个命令结合起来
allure generate --clean && allure open -h localhost -p 8080

